package com.wall.springbootinit.service;

import com.wall.springbootinit.model.dto.file.UpdateFileDTO;
import com.wall.springbootinit.model.dto.file.UploadByMenuIdDTO;
import com.wall.springbootinit.model.dto.file.UploadFileDTO;
import com.wall.springbootinit.model.entity.File;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 33932
* @description 针对表【sys_file(文件表)】的数据库操作Service
* @createDate 2024-05-19 15:27:39
*/
public interface FileService extends IService<File> {

    Long upload(UploadFileDTO uploadFileDTO);

    String pathProcessing(String filePath);

    boolean delete(Long id);

    boolean updateFile(UpdateFileDTO updateFileDTO);

    Boolean uploadByMenuId(UploadByMenuIdDTO uploadByMenuIdDTO);
}
